
package com.daka.dao1;

import com.daka.entity.MemberInsurance;
import com.daka.mybatis.SQLMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "memberInsuranceDao")
@SQLMapper
public interface MemberInsuranceDao {
    int deleteByPrimaryKey(Integer id);

    int insert(MemberInsurance record);

    int insertSelective(MemberInsurance record);

    MemberInsurance selectByPrimaryKey(Integer id);

    List<MemberInsurance> selectAll();

    List<MemberInsurance> selectByIdBetween(@Param("max") Integer max,@Param("min") Integer min);

    List<MemberInsurance> selectByStatement(MemberInsurance record);

    int selectByStatementCount(MemberInsurance record);

    int updateByPrimaryKeySelective(MemberInsurance record);
}